package com.example.urmsadmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.urmsadmin.entity.SysMenu;
import com.example.urmsadmin.vo.CommonResult;

import javax.servlet.http.HttpServletRequest;
import java.util.Set;

/**
 * 菜单表(SysMenu)表服务接口
 *
 * @author makejava
 * @since 2022-07-12 08:43:51
 */
public interface SysMenuService extends IService<SysMenu> {

    /**
     * 根据用户ID查询权限
     *
     * @param userId 用户ID
     * @return 权限列表
     */
    public Set<String> selectMenuPermsByUserId(Long userId);

    public Set<String> getMenuPermission(Long userId);

}
